﻿using PersonalWebsite.Domain.Abstract.Entities.Enum;

namespace PersonalWebsite.Domain.Abstract.Entities.IAbility;

/// <summary>
/// 软删除接口
/// </summary>
public interface ISoftDelete
{
    public IsDeletedEnum IsDeleted { get; set; }
}

public interface IDeltetor<T>
{
    public T? DeletorId { get; set; }
}

public interface IDeleteTime
{
    public DateTime? DeleteTime { get; }
}

public interface IDelete<T> : IDeltetor<T>, IDeleteTime
{

}

public interface ISoftDelete<T> : IDelete<T>, ISoftDelete
{
}
